/**
 * 配置环境
 *
 * baseUrl: 域名地址
 * baiduCloud: 百度云环境
 * aliCloud: 阿里云环境
 */
// 阿里云oss
import OSS from 'ali-oss';
// 域名地址
// 本地调试
// let baseUrl = 'http://172.13.31.241:5757'
// 测试服
let baseUrl = 'https://mini.yueqishe.cn'
// 正式服
// let baseUrl = 'https://mini.yueqi-she.com'
// 百度云环境
let baiduCloud = {
  akBos: 'afc5b0dfd3e3474399fad89efcb91a80',
  skBos: '2f516d9195484d76aeb768076202533a',
  endpointBos: 'https://gz.bcebos.com',
  bucketBos: 'mobuz-mp',
  urlBos: 'https://mobuz-mp.cdn.bcebos.com'
}
// 新版本批次id 
let NEWMODULEBATCHID = '20181220023'

// 阿里云oss环境
let aliCloud = new OSS({
  region: 'oss-cn-hangzhou',
  accessKeyId: 'LTAIzsvPrCVvXfRA',
  accessKeySecret: 'O6RdKfB0fZhbqLeLhWSvjs0YSloir9',
  bucket: 'mobuz-live'
});

export {
  baseUrl,
  baiduCloud,
  aliCloud,
  NEWMODULEBATCHID
}
